const routerListStore = defineStore(
  'routerList',
  {
    state: () => ({
      routerObj: [],
      routerName: '',
      routerPath:'',
    }),
    actions: {
      // 获取当前路由信息
      getNewRouter(list,name,path){
        this.routerObj = list;
        this.routerName = name;
        this.routerPath = path;
      }
    }
  })

export default routerListStore